package com.xishu.socket;

import com.xishu.bo.LineUpCodeResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SocketMessage implements Serializable {
    private static final long serialVersionUID = -3179040068211654666L;

    @ApiModelProperty(value = "类型,1，订单消息, 2分店消息, 3落单管理")
    private Integer type;

    @ApiModelProperty(value = "分店ID")
    private Long shopId;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "优惠码")
    private String satisfyAndCutCode;

    @ApiModelProperty(value = "取餐码")
    private Integer takeOutNumber;

    @ApiModelProperty(value = "是否已售罄")
    private Boolean saleOut;

    @ApiModelProperty(value = "营业状态")
    private Boolean businessStatus;

    @ApiModelProperty(value = "落单的数量")
    private Integer count;

    @ApiModelProperty(value = "排队信息，最新的当前排队")
    private List<LineUpCodeResponse> lineUpCodeResponseList;

}
